<form action="{:sysuri()}" method="post" data-auto="true" class="layui-form layui-card" data-table-id="BaseTable">

    <div class="layui-card-body padding-left-40">
        <label class="layui-form-item relative block">
            <div class="help-label label--prev"><b>执行规则</b></div>
            <select class="layui-select" name="run_type" lay-filter="SiteTheme">
                {foreach ['1'=>'统计执行','2'=>'详细执行'] as $k=>$v}
                {if isset($vo.run_type) and $vo.run_type eq $k}
                <option selected value="{$k}">{$v}</option>
                {else}
                <option value="{$k}">{$v}</option>
                {/if}
                {/foreach}
            </select>
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>盲盒ID</b></span>
            <input maxlength="500" class="layui-input" name="box_id" value='{$vo.box_id|default=""}'
                   vali-name="盲盒ID" placeholder="请输入盲盒ID">
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>Spin次数</b></span>
            <input maxlength="500" class="layui-input" name="times" value='{$vo.times|default=""}'
                   vali-name="Spin次数" placeholder="请输入Spin次数">
        </label>

        <label class="layui-form-item relative block">
            <span class="help-label"><b>测试赔率</b></span>
            <input maxlength="500" class="layui-input" name="test_rtp" value='{$vo.test_rtp|default=""}'
                   vali-name="测试赔率" placeholder="请输入测试赔率">
            <span class="help-block">范围0-500的整数 ，不填，则按照策略算法来选择</span>
        </label>
    </div>

    <div class="hr-line-dashed"></div>
    {notempty name='vo.id'}<input type='hidden' value='{$vo.id}' name='id'>{/notempty}

    <div class="layui-form-item text-center">
        <button class="layui-btn" type='submit'>保存</button>
        <button class="layui-btn layui-btn-danger" type='button' data-confirm="确定要取消吗？" data-close>取消
        </button>
    </div>

</form>